package com.turing.post.organization.util;

import java.math.BigInteger;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 凭证种类实体类
 * 
 * @author wzd
 * @date 2013-03-12
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "VOUCHER")
public class Voucher implements java.io.Serializable {
	/**
	 * 凭证ID
	 */
	private BigInteger voucherId;
	/**
	 * 发卡商 varchar(6) Not Null 参考IssueCompany
	 */
	private String issueCompanyNo;
	/**
	 * 凭证名称 varchar(6) Not Null
	 */
	private String voucherName;
	/**
	 * 凭证号长度 Not Null
	 */
	private BigInteger VoucherNoLen;
	/**
	 * 凭证图片Id  Null
	 */
	private BigInteger imageId;
	/**
	 * 备注 varchar(60) Null
	 */
	private String remark;
	
	
	public Voucher() {
		super();
	}

	@Id
	@Column(name = "VOUCHERID")
	public BigInteger getVoucherId() {
		return voucherId;
	}


	public void setVoucherId(BigInteger voucherId) {
		this.voucherId = voucherId;
	}

	@Column(name = "ISSUECOMPANYNO")
	public String getIssueCompanyNo() {
		return issueCompanyNo;
	}


	public void setIssueCompanyNo(String issueCompanyNo) {
		this.issueCompanyNo = issueCompanyNo;
	}

	@Column(name = "VOUCHERNAME")
	public String getVoucherName() {
		return voucherName;
	}


	public void setVoucherName(String voucherName) {
		this.voucherName = voucherName;
	}

	@Column(name = "VOUCHERNOLEN")
	public BigInteger getVoucherNoLen() {
		return VoucherNoLen;
	}


	public void setVoucherNoLen(BigInteger voucherNoLen) {
		VoucherNoLen = voucherNoLen;
	}

	@Column(name = "IMAGEID")
	public BigInteger getImageId() {
		return imageId;
	}


	public void setImageId(BigInteger imageId) {
		this.imageId = imageId;
	}

	@Column(name = "REMARK")
	public String getRemark() {
		return remark;
	}


	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
